package com.yunsom.testdemo.extend;

import java.util.ArrayList;
import java.util.Arrays;

/**
 * @ClassName PersonTest
 * @Description
 * @Author cxb
 * @Date 2023-3-9 17:00
 * @Version 1.0.0
 */
public class PersonTest {

    public static Person getPersonMan(){
        PersonMan personMan = new PersonMan();
        personMan.setMan(Arrays.asList("1"));
        return personMan;
    }

    public static void main(String[] args) {

        PersonMan personMan = (PersonMan) getPersonMan();

        System.out.println(personMan.getMan());
    }
}
